

body{
    // background-color:white;
    background-image: linear-gradient(-60deg, #2b5876 0%, #4e4376 100%) !important;
    display: flex;
    flex-direction: column;
    width: 100%;
 
}

.container{
      width:1280px;
      margin: 0 auto;
}

header .navbar .collapse .links li a {
  color:white;
}
header .navbar .collapse .links li a:hover {
  color: #2ecc71;
}
header .navbar .logo + label {
   
    color:white !important;

}

main{
    height:auto;
    // background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
   
    
}

div.top{
    height: 300px;
    // background-color: #778ca3;
    background-image: url(https://lyking90.oss-cn-shenzhen.aliyuncs.com/mybg.jpg) ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    & img{
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 4px double rgb(240, 180, 14);
        box-shadow: 2px 2px 6px #ca9d3d, -3px -4px 6px #2c2a27 ;
        margin: 10px;

        &:hover{
            transform: scale(1.2);
            transition: 1s ease-in-out;
        }
    }
    & p{
        margin: 10px;
        font-size: 20px;
        &:first-of-type{
            color:#34495e;
            text-shadow: 3px 4px 6px #c6d2db;
        }

        &:nth-of-type(2){
            color: white;
            text-shadow: 2px 4px 6px #191b1d,-3px -2px 5px #191b1d;
        }
    }
}

/* 幽灵悬浮部分 */
div.ghost{
  width: 120px;
  height:140px;
  background-color: #f2f2f2;
  border-radius: 70px 70px 0 0;
  position: fixed;
  top:120px;
  left:50px;
  cursor: pointer;
  animation: floating 2s infinite ease-in-out;
  z-index:-1;
}

@keyframes floating{

  50%{
    transform: translateY(-30px);
    
  }
}

div.face{
  width: 100px;
  position: absolute;
  top: 60px;
  left: calc(50% - 50px);
}

div.eyes{
  height: 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 14px;

}

@keyframes scale{

  50%{
    height: 18px;;
    
  }
}

.eyes span{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #2c3a47;
  transition: .3s linear;
  animation: scale 2.5s infinite ease-in-out;
}

.ghost:hover .eyes span{
  height: 16px;
}

.mouth{
  width: 40px;
  height: 20px;
  margin: auto;
  background-color: #2c3a47;
  border-radius: 0 0 20px 20px;
  transition: .3s linear;
}

.ghost:hover .mouth{
  height: 12px;
}

.hands{
  width: 150px;
  position: absolute;
  left:-15px;
  top: 80px;
  display: flex;
  justify-content: space-between;
}

.hands span{
  width: 20px;
  height: 30px;
  background-color: #f2f2f2;

}

.hands span:first-child{
  border-radius: 20px 0 0 20px;
}

.hands span:last-child{
  border-radius: 0 20px 20px 0;
}

.feet{
  position: absolute;
  width: 100%;
  bottom: -20px;
  display: flex;
  
}

.feet span{
  flex: 1;
  height: 20px;
  background-color: #f2f2f2;
  border-radius: 0 0 20px 20px;
}

.feet span:first-child{
    border-radius: 0 0 20px 12px;
}

.feet span:last-child{
    border-radius: 0 0 12px 20px;
}


div.mycard{
    width: 60%;
    height:auto;
    background-color: #839ab3;
    box-sizing: border-box;
    margin: auto;
   
    // box-shadow: 2px 2px 5px black;
    & .mycard-title p{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 21px;
        font-weight: bold;
        margin: 5px;
        color: rgb(223, 214, 94);
        padding:5px;

    }

    & .mycard-content{
        
        height:auto;
        // border: 1px solid #ddd;
        background-color: #97adc5;
        overflow:auto;
        padding-bottom:20px;
    }
}

table.aboutme{
 
    box-shadow: 2px 2px 6px #ddd;
    font-size: 16px;
    background-image: linear-gradient(30deg, #eea2a2 0%, #bbc1bf 19%, #57c6e1 42%, #b49fda 79%, #7ac5d8 100%);

}
table.aboutme caption{
    margin:15px;
    font-size:1.5em;
    color: #2b5876;
    text-align: left;
}

table.aboutme tr:hover{
    background-color: #40739e;
}
table.aboutme,tr,td{
    border: 1px solid #ddd;
    margin: auto;
    border-collapse: collapse;
    font-size: 1.1em;
    padding: 10px;
    box-sizing: border-box;
    color:#e4e5ec;
 
}

ul.skiss{
   padding: 5px;
//    border: 1px solid #ddd;
   list-style:none;
   
}
ul.skiss li{
    margin: auto;
    // border: 1px solid #777;
    color:#e4e5ec;
    font-size: 1.1em;
    padding: 5px;
    margin: 3px;
    text-indent: 1em;
   
    & i{
        color: cornflowerblue;
        margin:0px 10px;
    }

    &:hover{
        color:#3d3d3d;
         i{
            transform: rotateX(180deg);
            transition: 1s;
            color: #fff200;
        }
    }

}

.evaluation{
    color:#e4e5ec ;
    font-size: 1.1em;
    line-height: 30px;
    text-indent: 3em;
    padding: 5px;
    margin: 15px;
    // border: 1px solid black;
    text-shadow: 4px 3px 5px #2b5876;
    &:hover{
        color:#2c1005;
        text-shadow: 2px 4px 5px #eef1f3;
    }
}

.workcard{
    width:100%;
    height:400px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    
    
    & .workcard-lunbo{
        // border:1px solid whitesmoke;
        background-color: #2b5876;
        width:45%;
        height:100%;
        
        overflow: hidden;
      
        & section{
            width:100%;
            height: 1600px;
            display:flex;
            flex-direction:column;
            justify-content: center;
            align-items: center;
            animation-name: slide;
            animation-delay: 2s;
            animation-duration:10s;
            animation-timing-function: steps(4,end);
            animation-iteration-count: infinite;

            &:hover{
                animation-play-state: paused;
               
            }
            & div{
            width:100%;
            height:400px;
            overflow: hidden;
     
            & img{
                width: 100%;
                height:100%;
                object-fit:contain;
            
            }
        }

        }
      
    
    }

    @keyframes slide {

        to{
            transform: translateY(-100%);
        }
        
    }
    & .workcard-desc{
        // border: 1px solid gray;
        background-color: rgb(245, 245, 241);
        width: 50%;
        height: 100%;
        display:flex;
        justify-content: center;
        align-items: center;
        overflow: auto;
        
     
    }
}

div.workcard-desc table.csb{
//    border:3px solid yellow;
   height:95%;
   width:95%;
   
   & tr:hover{
       background-color: #80b0cf;
   }

}
table.csb,tr,td{
    font-size:1em;
    color: black;
    // padding:11px;
    font-weight: bold;
   
}


footer{
    width: 100%;
    height: 100px;
    background-color: #ddd;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}


footer p{
    margin: 5px;
    padding: 0px 5px;
    &:first-of-type{
        font-weight: bold;
        font-size: 20px;
    }
    & i{
        padding: 5px;
    }
}

@media only screen and (max-width:650px){
    table.csb,tr,td{
    font-size:0.7em;
    color: black;
    font-weight:bold;
    
    }
}